<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2021 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: yunwuxin <448901948@qq.com>
// +----------------------------------------------------------------------
declare (strict_types = 1);

namespace app\common\exception;

use think\exception\ValidateException;

/**
 * 咨询次数不足
 * Class ConsultingQuestionNumNotEnoughException
 * @package app\common\exception
 */
class ConsultingQuestionNumNotEnoughException extends ValidateException
{
    protected $code = 601;

    /**
     * DataNotExistException constructor.
     * @param string $message
     */
    public function __construct(string $message = '无可用聊天次数，不如试试付费功能！')
    {
        parent::__construct($message);
    }
}
